home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / c_edit.arc / ED.DOC next >
Text File  |  1991-09-08  |  5KB  |  109 lines

  1.  
  2.      DOCUMENTATION FOR "C" EDITOR - FEBRUARY 3, 1984
  3.                   (IBM PC VERSION)
  4.         (Written by Edward K. Ream)
  5.            (Modified by Alan D. Howard)
  6.        (Dr. Dobb's Journal, Jan. 1982, v. 7 Issue 1)
  7.        (Dr. Dobb's Journal, May  1983, v. 8 Issue 5)
  8.  
  9. COMMAND MODE COMMANDS:    (May be entered in upper or lower case.  Arguments
  10.             surrounded by [ ] may be replaced by buffer mark
  11.                 commands:  F7, F8, & cursor)
  12.  
  13. Command     Arguments    Function
  14.  
  15. append        <filename>    Insert the named file into buffer at cursor
  16. change        [<from to>]    Make indicted changes in
  17.                     lines in range <from to>
  18. clear                Erase the buffer
  19. closeread            Close the read file
  20. closewrite            Close the write file
  21. copy        [<from to n>]    Copy <n> lines from <from> to before <to>
  22. count        <n>        Number of times to repeat buffer macro
  23. delete        [<from to>]    Delete all lines in the range <from to>
  24.                     If room exists, lines are copied to
  25.                     the pick buffer.
  26. delname     <filename>    Make the indicated file the write file;
  27.                     no error if file already exists
  28. dos                Exit from editor to operating system
  29. extract     [<from to>]    Write the designated lines to the write file;
  30. find                Search for a pattern; enter edit mode
  31. g        <n>        Go to line <n> and enter edit mode
  32. help                List the command mode commands to the screen
  33. hidetab             Do not show tabs in reverse video (default)
  34. list        [<from to>]    List the indicated lines to printer
  35. load        <filename>    Open the indicated file as the read file;
  36.                     clear the buffer;
  37.                     load the buffer from the file;
  38.                     close the read file if entire file read
  39. move        [<from to n>]    Move <n> lines from <from> to before <to>
  40. name        <filename>    Make the indicated file the write file;
  41.                     error if file already exists
  42. open        <filename>    Open the indicated file as the read file
  43. read        <n>        Read <n> lines from read file to end of
  44.                     buffer; close the read file if
  45.                     entire file read;
  46. rename        <filename>    Close the write file; open new write file
  47. rest                Clear the buffer if requested;
  48.                     load the buffer from the read file;
  49.                     close the read file if entire file read
  50. save                Save the buffer into the write file;
  51.                     buffer is unchanged;
  52. search        [<from to>]    Print all lines that match a pattern
  53. showtab             Show tabs in reverse video 
  54. tabs        <n>        Set tab stops at every <n> columns
  55. write        <n>        Write <n> lines from front of buffer to the
  56.                     write file; the lines are deleted from
  57.                     the buffer
  58. (F2)                Enter edit mode
  59. (F4)                Enter insert mode
  60.  
  61.  
  62. EDIT AND INSERT MODE KEY COMMANDS:
  63.  
  64. Key        Action
  65.  
  66. (Pg Dn)           Scroll down until any key pressed
  67. (Ctl Pg Dn)    Move screen down 20 lines
  68. (Ctl Right Arrow)          Move to end of line
  69. (F3)<n> CR        Go to line <n>
  70. (Ctl Left Arrow)           Move to beginning of line
  71. (Pg Up)           Scroll up until any key pressed
  72. (Ctl Pg Up)    Move screen up 20 lines
  73. (F5)              Erase from cursor to end of line
  74. (F2)        Enter edit mode
  75. (F6)        Abort changes to current line
  76. (F1 or Esc)     Enter command mode
  77. (END)        Delete character before cursor
  78. (BACKSPACE)    Delete character at cursor; same as (END) at end of line
  79. (RETURN)    Insert mode:  Add line below current line, move to the new line
  80.         Edit mode:  Move to next line
  81. (Ins)        Insert line at cursor: move current line down, 
  82.             enter insert mode
  83. (F4)        Enter insert mode
  84. (Del)        Delete current line
  85. (Alt-4)<char>   Search for character and move cursor to character
  86. (Alt-3)<char>   Delete characters from cursor up to but not including <char>
  87. (HOME)              Move cursor alternately to top and bottom of screen
  88. (Alt-1)        Split line at cursor.
  89. (Alt-2)        Join current line with line above (if room)
  90. (Up-arrow)    Up one line
  91. (Down-arrow)    Down one line
  92. (Left-arrow)    Left one literal character (Tabs move to next tab stop)
  93. (Alt -)         Left one column position (this is the top-row -_ key)
  94. (Right-arrow)    Right one literal character (Tabs move to next tab stop)
  95. (Alt +)        Right one column position (This is the top-row =+ key)
  96. (F7)        Mark beginning of line range
  97. (F8)        Mark end of line range
  98. (F9)        Move line range to pick buffer (if room)
  99. (F10)        Move pick buffer to before current cursor line
  100. (-)        Start/end recording toggle of keystrokes to playback 
  101.             buffer macro (This is - on Auxiliary Keypad)
  102. (+)        Playback of key buffer macro - Playback repeated number
  103.             of times set by Count command (This is + on
  104.             Auxiliary Keypad)
  105.  
  106. (All others)    Any other printing key (and TAB key) act as follows:
  107.             Edit mode:    Replace cursor with character
  108.             Insert mode:    Insert character
  109.